export const column = [
    {
        label: 'ID',
        name: 'id',
    },
    {
        label: '名称',
        name: 'name',
    },
    {
        label: '所属集团',
        name: 'group_name',
    },
    {
        label: '所属公司',
        name: 'company_name',
    },
    {
        label: '所属工厂',
        name: 'factory_name',
    },
    {
        title: '操作',
        name: 'action',
        width: '260',
        buttons: [],
    },
]

export const config = [
    {
        name: 'parent',
        type: 'select_id',
        placeholder: '请选择所属工厂',
        label: '所属工厂',
        required: true,
    },
    {
        name: 'name',
        type: 'input',
        placeholder: '请输入区域名称',
        label: '区域名称',
        required: true,
    },
    {
        name: 'x_per',
        type: 'input',
        placeholder: '请输入X轴位置',
        label: 'X轴位置(单位:%)',
    },
    {
        name: 'y_per',
        type: 'input',
        placeholder: '请输入Y轴位置',
        label: 'Y轴位置(单位:%)',
    },
]
